import { LaptopOutlined, NotificationOutlined } from '@ant-design/icons';
import React from 'react'

const Menu = [
    {
        path: '/home',
        name: '首页',
        icon: React.createElement(LaptopOutlined)
    },
    {
        path: '/test',
        name: '测试页',
        icon: React.createElement(NotificationOutlined),
        children: [
            {
                path: '/test/page1',
                name: '测试1',
                icon: React.createElement(NotificationOutlined),
            },
            {
                path: '/test/page2',
                name: '测试2',
                icon: React.createElement(NotificationOutlined),
                children: [
                    {
                        path: '/test/page2/index',
                        name: '测试2主页',
                        icon: React.createElement(NotificationOutlined),
                    },
                    {
                        path: '/test/page2/sub1',
                        name: '测试2子页1',
                        icon: React.createElement(NotificationOutlined),
                    },
                    {
                        path: '/test/page2/sub2',
                        name: '测试2子页2',
                        icon: React.createElement(NotificationOutlined),
                    }
                ]
            }
        ]
    }
]

export default Menu;